from .models import OperationLog
from utils.serializers import CustomModelSerializer


class OperationLogSerializer(CustomModelSerializer):

    """
    日志-序列化器
    """

    class Meta:
        model = OperationLog
        fields = "__all__"
        read_only_fields = ["id"]
